import { createPinia } from 'pinia'
import { App } from 'vue';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'; // 数据持久化
const pinia = createPinia();

export const setUpPinia = (app:App) =>{
    app.use(pinia.use(piniaPluginPersistedstate));
}
